package com.egao.common.module.recommendation.entity;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author shu
 * @since 2025-03-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("graduate_employment_certification")
@ApiModel(value="GraduateEmploymentCertification对象", description="")
public class GraduateEmploymentCertification implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("user_id")
    private Integer userId;

    @ApiModelProperty("学院编码")
    private String collegeCode;

    @ApiModelProperty("学号")
    @TableField("xh")
    private String xh;

    @ApiModelProperty("姓名")
    @TableField("xm")
    private String xm;

    @ApiModelProperty("学历")
    @TableField("degree")
    private String degree;

    @ApiModelProperty(value = "单位名称")
    @TableField("company_name")
    private String companyName;

    @ApiModelProperty(value = "单位地址")
    @TableField("company_address")
    private String companyAddress;

    @ApiModelProperty(value = "联系电话")
    @TableField("company_contact_phone")
    private String companyContactPhone;

    @ApiModelProperty(value = "联系人")
    @TableField("company_contact_person")
    private String companyContactPerson;

    @ApiModelProperty(value = "统一社会信用代码")
    @TableField("company_code")
    private String companyCode;

    @ApiModelProperty(value = "单位邮箱")
    @TableField("company_email")
    private String companyEmail;

    @ApiModelProperty(value = "单位性质，引用字典表sys_dict.type=company_nature")
    @TableField("company_nature")
    private String companyNature;

    @ApiModelProperty(value = "单位行业，引用字典表sys_dict.type=company_industry")
    @TableField("company_industry")
    private String companyIndustry;

    @ApiModelProperty(value = "工作职位类别，引用字典表sys_dict.type=sign_gzzwlb")
    @TableField("sign_gzzwlb")
    private String signGzzwlb;

    @ApiModelProperty(value = "工资收入")
    @TableField("salary")
    private BigDecimal salary;

    @ApiModelProperty(value = "到岗时间")
    @TableField("start_date")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date startDate;

    @ApiModelProperty(value = "离校后聘用期限")
    @TableField("post_graduation_employment_term")
    private Integer postGraduationEmploymentTerm;

    @ApiModelProperty(value = "学院审核状态 0-待提交，1-待审核，2-审核通过，3-审核不通过")
    @TableField("status")
    private Integer status;

    @ApiModelProperty(value ="审核人")
    @TableField("review_user")
    private Integer reviewUser;

    @ApiModelProperty(value = "学院审核时间")
    @TableField("review_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date reviewTime;

    @ApiModelProperty(value = "学院审核意见")
    @TableField("review_comment")
    private String reviewComment;

    @ApiModelProperty(value = "学校盖章时间")
    @TableField("school_recommendation_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date schoolRecommendationTime;

    @TableField("gen_flag")
    private Integer genFlag;

    @TableField("rpt_url")
    private String rptUrl;

    @TableField("create_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @TableField("update_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    @ApiModelProperty(value = "逻辑删除，0正常，1删除")
    @TableField("deleted")
    @TableLogic
    private Integer deleted;


}
